<div class="editor">
	<input type="hidden" name="sid" value="<{$sid}>"/>
	<span>当前学生：</span><span><{$editorInfo.stname}></span><span>专业：</span><span><{$editorInfo.major}></span><span>班级：</span><span><{$editorInfo.class}></span>
</div>
<hr>
<textarea rows="9" style="width:90%" name="remark"><{$remark}></textarea><br/>
<center><button class="btn btn-large btn-primary" name="submit_remark">提交数据</button></center>
<script>
	var remark=new PureAjax();
	var sid=document.getElementsByName("sid")[0];
	var submit_remark=document.getElementsByName("submit_remark")[0];
	submit_remark.onclick=function(){
		remark.post({
			dataType:"text",
			data:{
				remark:(document.getElementsByName("remark")[0]).value,
				submit:"yes"
			},
			url:URL+"Editor/createNewRemark/sid/"+sid.value,
			success:function(data){
				alert(data);
			}
		});
	}
</script>